table of contents
GLUTWIRESPHERE(3) | Library Functions Manual (local) | GLUTWIRESPHERE(3) |
NAME¶
glutWireSphere
—
Draw a wireframe sphere centered at the origin.
LIBRARY¶
OpenGLUT - geometry
SYNOPSIS¶
#include
<openglut.h>
void
glutWireSphere
(GLdouble
radius, GLint
slices, GLint
stacks);
PARAMETERS¶
radius
Sphere radius.
slices
The number of divisions around the z axis. (latitudal)
stacks
The number of divisions along the z axis. (longitudal)
DESCRIPTION¶
The glutWireSphere() function draws a wireframe sphere centered at the origin. The "equatorial" great circle lies in the xy-plane.
CAVEATS¶
The number of line segments representing the spherical surface is proportional to (slices*stacks).